import request from '@/plugin/axios'
export function GetList (page, title, status, state) {
  const url = '/AdminActivity/getList'
  return request.post(url, { page, title, status, state })
}
export function addEdit (data = {}) {
  const url = '/AdminActivity/addEdit'
  return request.post(url, data)
}
export function getInfo (id) {
  const url = '/AdminActivity/getInfo'
  return request.post(url, { id })
}
export function stateEdit (data = {}) {
  const url = '/AdminActivity/stateEdit'
  return request.post(url, data)
}
// 参与列表
export function getLists (page, aid, uid, state) {
  const url = '/AdminUser/getList'
  return request.post(url, { page, aid, uid, state })
}
export function reissue (id) {
  const url = '/AdminUser/reissue'
  return request.post(url, { id })
}
export function downloadData (aid, state) {
  const url = '/AdminUser/downloadData'
  return request.post(url, { aid, state })
}
// 语音识别记录
export function voiceLog (page, aid) {
  const url = '/AdminUser/voiceLog'
  return request.post(url, { page, aid })
}